Mutable Set
A generic unordered collection of elements that does not support duplicate elements, and supports adding and removing elements.
Parameters
E
the type of elements contained in the set. The mutable set is invariant in its element type.
Functions
add All
Link copied to clipboard
Adds all of the elements of the specified collection to this collection.
contains All
Link copied to clipboard
Checks if all elements in the specified collection are contained in this collection.
iterator
Link copied to clipboard
Returns an iterator over the elements of this object.
remove All
Link copied to clipboard
Removes all of this collection's elements that are also contained in the specified collection.
retain All
Link copied to clipboard
Retains only the elements in this collection that are contained in the specified collection.
Properties
Inheritors
AbstractMutableSet
Link copied to clipboard
HashSet
Link copied to clipboard
LinkedHashSet
Link copied to clipboard